package com.zj.ssm.mapper;

import com.zj.ssm.pojo.domain.News;
import com.zj.ssm.pojo.domain.query.NewsBsscQuery;
import com.zj.ssm.pojo.domain.query.NewsQuery;

import java.util.List;

/**
 * @author wxr
 * @version 1.0
 * @date 2022/1/17 14:13
 */
public interface NewsBsscMapper {

    List<News> queryNews(NewsBsscQuery query);
    Long queryNewsTotal(NewsBsscQuery query);

    int deleteNews(Integer id);



    int getZhi(Integer id);

    int getXia(Integer id);

    int getShang(Integer id);
}
